.container {
  min-height: 100vh;
  background: #f8f8f8;
  padding-bottom: 120rpx;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88rpx;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30rpx;
  z-index: 100;

  .back-icon {
    font-size: 36rpx;
    color: #333;
  }

  .right-icons {
    display: flex;
    gap: 30rpx;
    font-size: 36rpx;
    color: #333;
  }
}

.goods-image {
  width: 100%;
  height: 600rpx;
  position: relative;

  image {
    width: 100%;
    height: 100%;
  }

  .image-count {
    position: absolute;
    right: 20rpx;
    bottom: 20rpx;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24rpx;
    padding: 4rpx 12rpx;
    border-radius: 20rpx;
  }
}

.price-section {
  background: #fff;
  padding: 20rpx 30rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .price-info {
    display: flex;
    align-items: baseline;
    gap: 10rpx;

    .current-price {
      font-size: 40rpx;
      color: #ff0000;
      font-weight: bold;

      &::before {
        content: '¥';
        font-size: 32rpx;
      }
    }

    .original-price {
      font-size: 26rpx;
      color: #999;
      text-decoration: line-through;
	  
	  &::before {
	    content: '¥';
	    font-size: 32rpx;
	  }
    }
  }

  .sales-count {
    font-size: 26rpx;
    color: #999;
  }
}

.goods-title {
  background: #fff;
  padding: 20rpx 30rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1rpx solid #f5f5f5;

  .title {
    font-size: 32rpx;
    color: #333;
    font-weight: 500;
  }

  .share-btn {
    display: flex;
    align-items: center;
    font-size: 24rpx;
    color: #666;
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    &::after {
      display: none;
    }

    .share-icon {
      font-size: 32rpx;
      margin-right: 4rpx;
    }
  }
}

.coupon-section,
.spec-section,
.delivery-section {
  background: #fff;
  margin-top: 2rpx;
  padding: 30rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .section-title {
    font-size: 28rpx;
    color: #666;
  }

  .coupon-content,
  .spec-content,
  .delivery-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 28rpx;
    color: #333;

    .coupon-tag {
      color: #ff0000;
      margin-right: 10rpx;
    }

    .arrow {
      margin-left: 10rpx;
      color: #999;
    }
  }
}

.rating-section {
  margin-top: 20rpx;
  background: #fff;
  padding: 30rpx;

  .rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20rpx;

    .title {
      font-size: 28rpx;
      color: #333;
    }

    .rating-score {
      display: flex;
      align-items: center;

      .score {
        font-size: 32rpx;
        color: #ff0000;
        margin-right: 10rpx;
      }
	  .arrow {
	    margin-left: 10rpx;
	    color: #999;
	  }

    }
  }

  .rating-item {
    .user-info {
      display: flex;
      align-items: center;
      gap: 10rpx;

      .user-avatar {
        width: 60rpx;
        height: 60rpx;
        border-radius: 50%;
      }

      .username {
        font-size: 26rpx;
        color: #666;
      }

      .rating-date {
        font-size: 24rpx;
        color: #999;
        margin-left: auto;
      }
	  .rating-message{
		  font-size: 24rpx;
		  display: flex;
	  }
    }
	.comment-content {
	    .text {
	      font-size: 28rpx;
	      color: #333;
	      line-height: 1.5;
	    }
	}
  }
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 10rpx;
  height: 100rpx;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 30rpx;
  border-top: 1rpx solid #f5f5f5;

  button {
    flex: 1;
    height: 80rpx;
    font-size: 28rpx;
    border-radius: 40rpx;
    margin: 0 10rpx;
    display: flex;
    align-items: center;
    justify-content: center;

    &.add-cart-btn {
      background: #fff;
      color: #ff0000;
      border: 2rpx solid #ff0000;
    }

    &.buy-now-btn {
      background: #ff0000;
      color: #fff;
    }

    &::after {
      display: none;
    }
  }
}